<%= render 'admin/shared/work_order_approve_or_reject',
  work_order: @communication_work_order,
  form_url: do_approve_admin_communication_work_order_path(@communication_work_order),
  form_method: :post,
  action_type: :approve,
  work_order_type: :communication,
  label: '审核意见',
  button_text: '确认通过' %>

<style>
  .work-order-info, .communication-records {
    margin-bottom: 20px;
  }

  .work-order-info table, .communication-records table {
    width: 100%;
    border-collapse: collapse;
  }

  .work-order-info th, .work-order-info td,
  .communication-records th, .communication-records td {
    padding: 8px;
    border: 1px solid #ddd;
    text-align: left;
  }

  .work-order-info th, .communication-records th {
    background-color: #f5f5f5;
  }

  .work-order-info th {
    width: 120px;
  }

  .actions {
    margin-top: 20px;
    text-align: right;
  }

  .button {
    margin-left: 10px;
  }
</style>